<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>Layui</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
	<link rel="stylesheet" href="css/Product_add.css" />
	<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="js/nullVildation.js"></script>
<body>

	<div>
		<form action="manager/category/addCategory" onsubmit="return addTextBook()">
			<table>
				<tr height="70px">
					<td><label>类名称：</label></td>
					<td><input style="width:800px;height:35px;border-radius:4px; " type="text" name="categoryName"
						placeholder="请输入类名称"></td>
				</tr>
				<tr height="70px">
					<td><label>上级菜单：</label></td>
					<td><select name="parentCategoryId">
							<option value="0">无</option>
							<c:forEach items="${categoryList }" var="category">
								<option value="${category.category_id }">${category.category_name }</option>>
							</c:forEach>
					</select></td>
				</tr>
				<tr height="70px">
					<td><label>显示顺序：</label></td>
					<td><input style="width:800px;height:35px;border-radius:4px; " type="text" name="showOrder"
						placeholder="请输入显示顺序,(数字越大越靠前)"></td>
				</tr>
				
				<tr height="70px">
					<td><label>商品状态：</label></td>
					<td><input type="radio" name=state value="1" title="启用"
						checked>启用
					<input type="radio" name="state" value="0" title="禁用">禁用</td>
				</tr>   
   
				<tr height="80px">
					<td></td>
					<td><input style="line-height: 40px; width:100px;height:38px;border-radius:2px;color:#fff ;  padding: 0 18px; background-color:#009688" type="submit" value="提交"> <input
					style="margin-left:10px; border: 1px solid #C9C9C9;width:70px;height:40px; background-color: #fff;color: #555;"	type="reset" value="重置"></td>
				</tr>
			</table>
		</form>
	</div>
</body>

</html>